package com.example.springboot.service.imp;

import com.alibaba.dubbo.config.annotation.Service;
import com.example.springboot.domain.City;
import com.example.springboot.service.CityDubboService;

/**
 * Created by tang on 2017/12/5.
 */
@Service(version = "1.0.0")
public class CityDubboServiceImp implements CityDubboService {

    @Override
    public City findCityByName(String name) {
        return new City(1L, 2L, "温岭", "是我的故乡");
    }
}
